package com.salton123;

import android.Manifest;
import android.content.pm.PackageManager;
import android.os.Process;

import com.salton123.app.BaseApplication;

import java.io.File;

/**
 * User: newSalton@outlook.com
 * Date: 2019-05-09 23:42
 * ModifyTime: 23:42
 * Description:
 */
public interface ClassPath {
    String BASE_PATH = BaseApplication.getInstance().getExternalCacheDir() + File.separator + "salton";
    boolean IS_DEBUG = true;
    boolean HAS_PERMISSION =
        BaseApplication.getInstance().checkPermission(Manifest.permission.WRITE_EXTERNAL_STORAGE, Process.myPid(),
            Process.myUid()) == PackageManager.PERMISSION_GRANTED;
}
